﻿using CHSystemApi.DataAccess;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq.Expressions;
using System.Text;

namespace CHSystemApi.Framework.DataAccess
{
    public interface IDataAccess
    {

        DataContext Context { get; }

        /// <summary>
        /// 开启事务
        /// </summary>
        /// <returns></returns>
        DbTransaction BeginTransaction();
    }
}
